import { createStore } from 'redux';
import reducer from "./reducer";

// 创建store 提供三个API { subscribe, dispatch, getState }。
const store = createStore(reducer);

export default store;